package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.PurchaseList;

import java.util.List;
import java.util.Map;

public interface PurchaseService {

    //保存进货单
    void savePurchaseList(PurchaseList purchaseList, String purchaseListGoodsStr);

    //查询进货单列表
    Map<String, Object> getPurchaseList(String purchaseNumber, Integer supplierId, Integer state, String sTime, String eTime);



    void purchaseDelete(Integer purchaseListId);

    void updateState(Integer purchaseListId);

    Map<Object, Object> getPurchaseListGoods(Integer purchaseListId);

    List<PurchaseList> getCount(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

}
